/*
 * Comment.h
 *
 *  Created on: 2010-6-3
 *      Author: Guobc
 */

#ifndef COMMENT_H_
#define COMMENT_H_

#include "ASTAbstractNode.h"

namespace HA {
/**
 * This interface represents a comment in the HTML document
 */
class Comment: public HA::ASTAbstractNode {

public:

	Comment() :
		HA::ASTAbstractNode() {

	}

	/**
	 * Sets comment text of this node.
	 * @parem text Comment text.
	 */
	virtual void setText(const string& text) = 0;

	/**
	 * Gets comment text of this node.
	 * @return Comment text.
	 */
	virtual string getText() = 0;

};
}

#endif /* COMMENT_H_ */
